package org.answer.dao;

import com.github.pagehelper.Page;
import org.answer.entity.PageResult;
import org.answer.entity.QueryPageBean;
import org.answer.pojo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderSettingListDao {
    //添加套餐表数据回显
    public List<Setmeal> create();
    //分页查询，条件查询
    public Page<Map> findPage(@Param("queryString") String queryString, @Param("date") String date);
    //添加
    public Member findMember(String phoneNumber);
    public void add(Member member);
    //根据用户的手机号判断是否已经预约了相同的项目
    public long findPhoneNumber(String phoneNumber);

    public void addOrder(Map<String,Object> map);

    //修改状态
    public void update(OrderSettingList orderSettingList);
    //取消预约
    public void delete(OrderSettingList orderSettingList);















    //public void add(Member member);
    //查询当前预约人是否当天已经预约过相同的项目了
   // public long findOrder(String phoneNumber);
    //预约成功，添加Order表数据
    //public void addOrder(Map<String,Object> map);
}
